package studychinese.activity;

import android.content.Intent;
import android.view.View;
import android.widget.TextView;

import com.hschinese.pronunciation.R;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class WhatStudyActivity extends BaseAcitivity {


    @Bind(R.id.tv_whatstudy_no)
    TextView tvWhatstudyNo;
    @Bind(R.id.tv_whatstudy_yes)
    TextView tvWhatstudyYes;


    @Override
    protected int setContainer() {
        return R.layout.activity_what_study;

    }

    @Override
    public void innitView() {
        ButterKnife.bind(this);

    }


    @OnClick({R.id.tv_whatstudy_yes, R.id.tv_whatstudy_no,R.id.left_img})
    public void onViewClicked(View view) {
        Intent intent = new Intent();
        switch (view.getId()) {
            case R.id.tv_whatstudy_yes:
                intent.putExtra("isSduday", "yes");
                intent.setClass(this, SpeedTestActivity.class);
                startActivity(intent);
                break;
            case R.id.tv_whatstudy_no:
                intent.putExtra("isSduday", "no");
                intent.setClass(this, HopeRankZHActivity.class);

                startActivity(intent);
                break;
            case R.id.left_img:
                this.finish();
                break;
        }
    }




}
